package com.efruit.authority;

public class AuthorityFacade {
//	private static Object initLock = new Object();
	private AuthorityProxy authorityProxy = null;
//	private static AuthorityFacade facade = null;

	public AuthorityFacade() {
		authorityProxy = new AuthorityProxy();
	}

//	public static AuthorityFacade getIntance() {
//		if (facade == null) {
//			synchronized (initLock) {
//				if (facade == null) {
//					facade = new AuthorityFacade();
//				}
//			}
//		}
//		return facade;
//	}
//


	public IUserInfo login(String username, String password) {
		return authorityProxy.login(username, password);
	}
}
